package com.yuan.fmmall.dao;

import com.yuan.fmmall.entity.ProductComments;
import com.yuan.fmmall.entity.ProductCommentsVO;
import com.yuan.fmmall.general.GeneralDAO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import java.util.List;

@Mapper
@Resource
public interface ProductCommentsMapper extends GeneralDAO<ProductComments> {
    public List<ProductCommentsVO> selectCommontsByProductId(@Param("productId") String productId,
                                                             @Param("start") int start,
                                                             @Param("limit") int limit);
}